package com.tentact.vo;

public class Employee {
    //属性
    private int employeeid;
    private String employeename;
    private String username;
    private String userpwd;
    private String phone;
    private String email;
    private int departmentid;
    private int roleid;
    private int employeestatus;
    private String remark;

    public Employee(String employeename, String username, String userpwd, String phone, String email, int departmentid) {
        this.employeename = employeename;
        this.username = username;
        this.userpwd = userpwd;
        this.phone = phone;
        this.email = email;
        this.departmentid = departmentid;
    }

    // get/set方法
    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    private Department department;
    private Role role;


    public int getEmployeeid() {
        return employeeid;
    }

    public void setEmployeeid(int employeeid) {
        this.employeeid = employeeid;
    }

    public String getEmployeename() {
        return employeename;
    }

    public void setEmployeename(String employeename) {
        this.employeename = employeename;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(int departmentid) {
        this.departmentid = departmentid;
    }

    public int getRoleid() {
        return roleid;
    }

    public void setRoleid(int roleid) {
        this.roleid = roleid;
    }

    public int getEmployeestatus() {
        return employeestatus;
    }

    public void setEmployeestatus(int employeestatus) {
        this.employeestatus = employeestatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    //构造方法


    public Employee(int employeeid, String employeename, String username, String userpwd, String phone, String email, int departmentid, int roleid, int employeestatus, String remark, Department department, Role role) {
        this.employeeid = employeeid;
        this.employeename = employeename;
        this.username = username;
        this.userpwd = userpwd;
        this.phone = phone;
        this.email = email;
        this.departmentid = departmentid;
        this.roleid = roleid;
        this.employeestatus = employeestatus;
        this.remark = remark;
        this.department = department;
        this.role = role;
    }

    public Employee() {
    }

    public Employee(int employeeid, String employeename, String username, String userpwd, String phone, String email, int departmentid, int roleid, int employeestatus, String remark) {
        this.employeeid = employeeid;
        this.employeename = employeename;
        this.username = username;
        this.userpwd = userpwd;
        this.phone = phone;
        this.email = email;
        this.departmentid = departmentid;
        this.roleid = roleid;
        this.employeestatus = employeestatus;
        this.remark = remark;
    }

    public Employee(String username, String userpwd,int employeeid,String employeename) {
        this.username = username;
        this.userpwd = userpwd;
        this.employeeid=employeeid;
        this.employeename=employeename;
    }
    public Employee(String username, String userpwd) {
        this.username = username;
        this.userpwd = userpwd;
    }

    public Employee(String userpwd) {

        this.userpwd = userpwd;
    }

    public Employee(int employeeid, String employeename) {
        this.employeeid = employeeid;
        this.employeename = employeename;
    }
}
